<% if reply_to && user %>
  <div class="reply-to-block" data-reply-to-id="<%= reply_to.id %>">
    <div class="info">
      <%= t("topics.reply_to1") %>
      <% if show_body %>
        <%= user_avatar_tag(user, :xs) %><%= user_name_tag(user) %>
      <% else %>
        <%= link_to reply_to_topic_reply_path(@topic, reply), remote: true do %>
          <%= user_avatar_tag(user, :xs, link: false) %><span class="user-name"><%= user.login %></span>
          <span class='reply-floor'></span>
        <% end %>
      <% end %>
      <%= t("topics.reply_to2") %>
    </div>
    <% if show_body %>
    <div class="markdown">
      <%= markdown(reply_to.body) %>
    </div>
    <% end %>
  </div>
<% end %>
